package org.springframework.session.events;

import org.springframework.session.Session;
import org.springframework.session.SessionRepository;

/**
 * For {@link SessionRepository} implementations that support it, this event is fired when
 * a {@link Session} is created.
 *
 * @author Rob Winch
 * @since 1.0
 */
@SuppressWarnings("serial")
public class SessionCreatedEvent extends AbstractSessionEvent {

	/**
	 * Create a new {@link SessionCreatedEvent}.
	 *
	 * @param source  the source of the event
	 * @param session the session that was created
	 */
	public SessionCreatedEvent(Object source, Session session) {
		super(source, session);
	}

}
